module.exports = {
  dataIsFromPortal: {
    type: Boolean,
    default: false,
    name: '是否从门户获取数据',
    nameTips: '如果从门户获取数据，则数据集无效',
    filedType: 'switch'
  },

  parentId: {
    type: String,
    default: '',
    name: '父导航(页面)Id',
    nameTip: '将获取该导航下的所有子导航，为空时获取全部导航',
    filedType: 'autocomplete',
    suggestions: [
      {
        value: '',
        name: '根节点'
      },
      {
        value: '0',
        name: '一级导航'
      }
    ],
    vif: {
      key: 'dataIsFromPortal',
      value: true
    }
  },

  subMenuVisibal: {
    type: Boolean,
    default: false,
    name: '是否显示子菜单',
    filedType: 'switch',
    vif: {
      key: 'dataIsFromPortal',
      value: true
    }
  }
}
